from utils.utils import *
import pytest,os

if __name__ == '__main__':
    log()
    pytest.main([
        '-s',
        r'E:\gg4\gaoliu\month_web_1110\case\case.py',
        '--clean-alluredir',
        '--alluredir=./report/baidudir',
        '--html=./report/baidu.html'
    ])
    os.system('allure generate ./report/baidudir -o ./report/baidubg --clean')
    mail()